using System;
using System.Collections.Generic;

namespace ELearningSystem.Gateway.Entities
{
    public class Learner
    {
        public virtual int Id { get; set; }
        public virtual string Name { get; set; }
        public virtual string EmailAddress { get; set; }
        public virtual string Password { get; set; }
        public virtual string Role { get; set; }
        public virtual IList<Attempt> Attempts { get; set; }

        public Learner()
        {
            Attempts = new List<Attempt>();
        }
    }
}